﻿using System.Collections.Generic;
using System.Linq;
using fb.messages.contracts;

namespace fb.befragung.tests
{
  class GruppeMock : IGruppe
  {
    public GruppeMock(string name, IEnumerable<FrageMock> fragenMock)
    {
      this.Name = name;
      this.Fragen = fragenMock.Cast<IFrage>().ToArray();

    }

    public IEnumerable<IFrage> Fragen { get; private set; }

    public string Name { get; private set; }
  }
}